<!--
 * @Author: xiuquanxu
 * @Company: kaochong
 * @Date: 2021-04-20 16:49:04
 * @LastEditors: xiuquanxu
 * @LastEditTime: 2021-04-20 17:43:56
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <canvas width="400" height="400" id="canvas"></canvas>
    <br />
    <button onclick="start()">start</button>
    <button onclick="end()">end</button>
</body>
</html>

<script type="text/javascript" src="./main.js"></script>